package com.mobi.Survey.controller;

import java.util.ArrayList;
import java.util.List;

import com.mobi.Survey.uicomponents.ControlFactory;
import com.mobi.Survey.uicomponents.CustomEditText;

public class SurveyXmlParser {


 
	public List<SurveyPojo> parseSurveyXml(String xml) {

		List<SurveyPojo> surveys = new ArrayList<SurveyPojo>();

		List<SurveyDetailPojo> surveyDetails = null;
		SurveyPojo survey = null;
		SurveyDetailPojo surveyDetail = null;

		SubscriptionPojo subscription = new SubscriptionPojo();
		subscription.setEmail("Shahzad@gmail.com");
		subscription.setfName("Shahzad");
		subscription.setlName("Jamil");
		subscription.setSubsId(4);
		{

			survey = new SurveyPojo();
			survey.setId(4);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("DTRERA");
			survey.setSurveyDiscription("Detergent ERA Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("ABC Marketing");
			survey.setPhone("(513)123-4567");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.abcmarketing.com");
			survey.setShowAllControls(true);
			survey.setIconAddress("http://www.schneider-electric.com/solutions/WW/en/med/4664814/image/png/domains_5_ICON_TITLE.png");

			survey.setTxtBtnSurveyResult("Start Survey");
			survey.setTxtBtnCorrectAnswer("View Survey Correct Answer");
			survey.setTxtBtnSurveyResult("");

			surveyDetail = new SurveyDetailPojo((byte) 0,
					"This is product Image",
					"http://www.uigarden.net/english/images/107.jpg", 4, "");
			surveyDetail.setSequanceNo(1);

			surveyDetails.add(surveyDetail);
			surveyDetail = new SurveyDetailPojo((byte) 0,
					"This is product Image",
					"http://www.uigarden.net/english/images/107.jpg", 4, "");
			surveyDetail.setSequanceNo(2);
			surveyDetail.setMendatory(true);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video Tap to Watch",
					"http://www.youtube.com/watch?v=DJLDF6qZUX0", 4, "");
			surveyDetail.setMendatory(true);
			surveyDetail.setSequanceNo(3);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "",
					CustomEditText.MULTILINE + "", 4, "4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(true);
			surveyDetail.setSequanceNo(4);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(5);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_URL,
					"URL", "http://google.com", 4, null);
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(16);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(6);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(7);
			// "Month|Day|Year";
			// "Hours|mins|(AM|PM)"
			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_DATE,
					"Give your suggestions", "", 4, "");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(8);
			surveyDetail.setDefaultValue("5|30|2004");
			survey.setSurveyDetail(surveyDetails);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_DATE,
					"Enter Date- Default is Feb|04|2012", "Feb|04|2012", 4,
					"Jul-3-2010");
			surveyDetail.setMendatory(false);
			surveyDetail.setSequanceNo(13);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_TIME,
					"Enter Time - Default is 10|11|PM", "10|11|PM", 4,
					"11:2 AM");
			surveyDetail.setMendatory(false);
			surveyDetail.setSequanceNo(14);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_TIME,
					"Give your suggestions", "", 4, "");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(8);
			surveyDetail.setDefaultValue("12|54|AM");
			survey.setSurveyDetail(surveyDetails);

			surveys.add(survey);
		}
		// /// NEW SURVEY
		{
			survey = new SurveyPojo();
			survey.setId(66);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("F");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(false);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);
			surveyDetails.add(surveyDetail);
 
			
			
			/////
			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://media.govolsxtra.com/media/img/photos/2012/05/21/245759_t607.JPG",
					0, null);
			surveyDetails.add(surveyDetail);
 
			
			/////
			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://www.itspakistan.net/pakistan/images/war/Pak1965IndianAttack.jpg",
					0, null);
			surveyDetails.add(surveyDetail);
			
			/////
			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://www.ppib.gov.pk/images/AesPak-Gen.jpg",
					0, null);
			surveyDetails.add(surveyDetail);
			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}
		{
			survey = new SurveyPojo();

			survey.setId(3);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("CSTSRY");
			survey.setSurveyDiscription("//Customer Satisfatcion Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("");
			survey.setTxtBtnSurveyResult("");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with our services(1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend our services to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about our company?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT,
					"How we can improve our service? Give your suggestions.",
					"textMultiLine", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}
		{
			survey = new SurveyPojo();
			survey.setId(31);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("G");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Information");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		{
			survey = new SurveyPojo();
			survey.setId(333);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("J");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}
		{
			survey = new SurveyPojo();
			survey.setId(30);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("K");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		{
			survey = new SurveyPojo();
			survey.setId(331);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("I");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		{
			survey = new SurveyPojo();
			survey.setId(43);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("H");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		// Customer Satisfatcion Survey
		{
			survey = new SurveyPojo();
			survey.setId(33);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("E");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		{
			survey = new SurveyPojo();
			survey.setId(132);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("C");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}
		// /// NEW SURVEY
		{
			survey = new SurveyPojo();
			survey.setId(55);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("B");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}
		// /// NEW SURVEY
		{
			survey = new SurveyPojo();
			survey.setId(22);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("B");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		{
			survey = new SurveyPojo();
			survey.setId(2);
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setSurveyKey("PRDSRY");
			survey.setSurveyDiscription("Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("Click to Start Survey");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Right_hand_rule_cross_product.svg/220px-Right_hand_rule_cross_product.svg.png",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is product Video",
					"http://www.youtube.com/watch?v=93hxKtd4CdA&feature=relmfu",
					4, null);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-5)?", 3 + "", 4,
					"4");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(false);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well");
			surveyDetail.setMendatory(false);

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_EDIT_TEXT, "Give your suggestions",
					"date", 4, "");
			surveyDetail.setMendatory(false);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		}

		{
			survey = new SurveyPojo();
			surveyDetails = new ArrayList<SurveyDetailPojo>();
			survey.setId(1);
			survey.setSurveyKey("A");
			survey.setSurveyDiscription("SJ Product Survey");
			survey.setSubscription(subscription);
			survey.setSubscriptionId(4);
			survey.setCompanyName("SJ Product Survey Marketing");
			survey.setPhone("(666)123-222");
			survey.setContactEmail("contact@abcmarketing.com");
			survey.setWebsite("www.ProductSurvey.com");
			survey.setShowAllControls(true);

			survey.setTxtBtnSurveyResult("SJ Click to Start Survey 1234 5678 90");
			survey.setTxtBtnCorrectAnswer("See Correct Answer");
			survey.setTxtBtnSurveyResult("See Survey Results");

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW, "This is product Image",
					"http://www.uigarden.net/english/images/107.jpg", 4, "");
			surveyDetail.setSequanceNo(1);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_IMAGE_VIEW,
					"This is product Image",
					"http://mapsandmemories.edublogs.org/files/2012/02/soeb-power-symbol-clip-art-1tqnqp7.jpg",
					4, "");
			surveyDetail.setSequanceNo(2);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"My product Video. You can see it.",
					"https://www.youtube.com/watch?v=_woWlcyDCNw",
					4, null);
			surveyDetail.setSequanceNo(3);
			// http://masds03.htc.com.tw/Stream/Bird_On_Aware_QCIF_20fps_mpeg4_200k.mp4
			// http://www.youtube.com/watch?v=DJLDF6qZUX0

			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"My product Video. ERA Commercial.",
					"http://www.youtube.com/watch?v=1ufQ9OUosKE", 4, null);
			surveyDetail.setSequanceNo(4);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"My product Video. HD Cartoon",
					"http://www.youtube.com/watch?v=7EElKbUHX-U", 4, "");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(5);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"This is Framework Image",
					"https://www.youtube.com/watch?v=_woWlcyDCNw", 4, "");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(6);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"My product Video. HD Cartoon",
					"http://www.youtube.com/watch?v=rdNdmc83xe4", 4, "");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(7);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_VIDEO_VIEW,
					"My product Video. HD Cartoon",
					"http://www.youtube.com/watch?v=Wb03vv7JkmY&feature=related",
					4, "");
			surveyDetails.add(surveyDetail);
			surveyDetail.setSequanceNo(8);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RATINGBAR,
					"How satisfy are you with this product (1-4)?", 4 + "", 4,
					"3");
			surveyDetails.add(surveyDetail);
			surveyDetail.setMendatory(true);
			surveyDetail.setSequanceNo(9);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_RADIOGROUP,
					"Will you recommend this product to your friends?",
					"Yes|May Be|No", 4, "Yes");
			surveyDetail.setSequanceNo(10);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(
					ControlFactory.CONTROL_CHECK_BOX,
					"What do you like about this product?",
					"Clean clothes well|Remove stains well|Price is reasonable",
					4, "Clean clothes well|Remove stains well");
			surveyDetail.setMendatory(true);
			surveyDetail.setSequanceNo(11);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_SPINNER,
					"How did you heard about this product?",
					"Television|Radio|Friend circles|Magazine|Internet", 4,
					"Friend circles");
			surveyDetail.setMendatory(false);
			surveyDetail.setSequanceNo(12);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_DATE,
					"Enter Date", "", 4, "Jul-3-2010");
			surveyDetail.setMendatory(false);
			surveyDetail.setSequanceNo(13);
			surveyDetails.add(surveyDetail);

			surveyDetail = new SurveyDetailPojo(ControlFactory.CONTROL_TIME,
					"Enter Time", "", 4, "11:2 AM");
			surveyDetail.setMendatory(false);
			surveyDetail.setSequanceNo(14);
			surveyDetails.add(surveyDetail);

			survey.setSurveyDetail(surveyDetails);
			surveys.add(survey);
		} // SJ Survey

		return surveys;
	}

	/**
	 * 
	 * @param surveyId
	 *            id of survey to download aggregate survey data/summary
	 * @return
	 */
	public static List<AggregateResultPojo> parseAggregateResultXml(
			long surveyId, String sKey) {

		List<AggregateResultPojo> pojos = new ArrayList<AggregateResultPojo>();
		AggregateResultPojo arp = new AggregateResultPojo();
		arp.setSurveyKey("A");

		// Radio Group
		// Survey Id Control Id Rating Counts
		// 1 2 Yes 30
		// 1 2 May be 20
		// 1 2 No 8

		arp.setCtrlType(ControlFactory.CONTROL_RADIOGROUP);
		arp.setSequanceNo(1);
		arp.getRatings().add("Yes");
		arp.getCounts().add(30.0);
		arp.getRatings().add("May be");
		arp.getCounts().add(20.0);
		arp.getRatings().add("No");
		arp.getCounts().add(8.0);
		arp.setTitle("Will You Use It Again");
		pojos.add(arp);

		// Check Boxes
		// Survey Id Control Id Rating Counts
		// 1 5 Clean clothes well 41
		// 1 5 Remove stains well 35
		// 1 5 Price is reasonable 9
		arp = new AggregateResultPojo();
		arp.setCtrlType(ControlFactory.CONTROL_CHECK_BOX);
		arp.setSequanceNo(2);
		arp.getRatings().add("Clean clothes well");
		arp.getCounts().add(41.0);
		arp.getRatings().add("Remove stains well");
		arp.getCounts().add(35.0);
		arp.getRatings().add("Price is reasonable");
		arp.getCounts().add(9.0);
		arp.setTitle("What is Special for This Product");
		pojos.add(arp);

		// Rating Bar
		// Survey Id Control Id Rating Count
		// 1 3 0.5 1
		// 1 3 1 3
		// 1 3 1.5 4
		// 1 3 2 5
		// 1 3 2.5 6
		// 1 3 3 7
		// 1 3 3.5 8
		// 1 3 4 10
		// 1 3 4.5 9
		// 1 3 5 5

		arp = new AggregateResultPojo();
		arp.setCtrlType(ControlFactory.CONTROL_RATINGBAR);
		arp.setSequanceNo(3);
		arp.getRatings().add("0.5");
		arp.getCounts().add(1.0);
		arp.getRatings().add("1.5");
		arp.getCounts().add(4.0);
		arp.getRatings().add("2");
		arp.getCounts().add(5.0);

		arp.getRatings().add("2.5");
		arp.getCounts().add(6.0);

		arp.getRatings().add("3");
		arp.getCounts().add(7.0);

		arp.getRatings().add("3.5");
		arp.getCounts().add(8.0);

		arp.getRatings().add("4");
		arp.getCounts().add(10.0);

		arp.getRatings().add("4.5");
		arp.getCounts().add(9.0);

		arp.getRatings().add("5");
		arp.getCounts().add(5.0);
		arp.setTitle("Rate our product");
		pojos.add(arp);

		// Drop Down
		// Survey Id Control Id Rating Counts
		// 1 4 Television 12
		// 1 4 Radio 3
		// 1 4 Friend circles 20
		// 1 4 Magazine 16
		// 1 4 Internet 7
		arp = new AggregateResultPojo();
		arp.setCtrlType(ControlFactory.CONTROL_SPINNER);
		arp.setSequanceNo(4);
		arp.getRatings().add("Television");
		arp.getCounts().add(12.0);
		arp.getRatings().add("Radio");
		arp.getCounts().add(3.0);
		arp.getRatings().add("Friend circles");
		arp.getCounts().add(20.0);
		arp.getRatings().add("Magazine");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Friend circles");
		arp.setTitle("How you knew our product");
		arp.getCounts().add(7.0);
		pojos.add(arp);

		arp = new AggregateResultPojo();
		arp.setCtrlType(ControlFactory.CONTROL_SPINNER);
		arp.setSequanceNo(5);
		arp.getRatings().add("Google");
		arp.getCounts().add(12.0);
		arp.getRatings().add("Frequency Modulation");
		arp.getCounts().add(3.0);
		arp.getRatings().add("Personal Relations");
		arp.getCounts().add(20.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);
		arp.getRatings().add("Yellow Pages");
		arp.getCounts().add(16.0);

		arp.setTitle("How you knew our product");
		arp.getCounts().add(7.0);
		pojos.add(arp);
		return pojos;

	}

}
